package com.chat.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chat.domain.ChatUserFriend;
import com.chat.mapper.ChatUserFriendMapper;
import com.chat.response.FriendResponse;
import com.chat.service.ChatUserFriendService;
import jakarta.annotation.Resource;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * @author 冉船银
 * @description 针对表【cat_user_friend】的数据库操作Service实现
 * @createDate 2023-11-22 21:30:36
 */
@Service
public class ChatUserFriendServiceImpl extends
        ServiceImpl<ChatUserFriendMapper, ChatUserFriend> implements ChatUserFriendService {
    @Resource
    ChatUserFriendMapper chatUserFriendMapper;

    @Override
    public List<FriendResponse> getFriendList(Long id) {
        return chatUserFriendMapper.getFriendList(id);
    }
}




